package com.ruoyi.user.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 用户车辆（car_info）对象 car_info
 * 
 * @author Y
 * @date 2024-09-14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CarInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车辆主键 */
    @Excel(name = "车辆主键")
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long uid;

    /** 车型 */
    @Excel(name = "车型")
    private String typed;
    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNum;
    /** 汽车图片 */
    @Excel(name = "汽车图片")
    private String img;


    /** 删除状态 */
    private Long deleted;

    /** 是否默认(1默认 0非默认) */
    @Excel(name = "是否默认(1默认 0非默认)")
    private Long defaulted;
    /**
     * 一对一关系属性
     */
   private User user;
    /**
     * 一对一关系属性
     */
    private CarType carType;

}
